package concrete_element;


import element.Animal;
import visitor.Person;

public class Dog implements Animal {
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("汪汪");
    }
}
